package cn.edu.scau.cmi.heyonglin.comprehension.domain;

import java.util.HashSet;
import java.util.Set;

public class Teacher implements java.io.Serializable{
	private long id;
	private String name;
	private Set students=new HashSet(0);
	Teacher(){}
	
	public void setId(long id) {
		this.id=id;
	}
	public long getId() {
		return id;
	}
	public void setName(String name) {
		this.name=name;
	}
	public String getName() {
		return name;
	}
	public void setStudents(Set stuendts) {
		this.students=students;
	}
	public Set getStudents() {
		return students;
	}
}
